﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineCourse.Services.IServices
{
    public interface ISectionServices
    {
        /// <summary>
        /// 添加单门课程详细信息
        /// </summary>
        /// <param name="id"></param>
        /// <param name="titel"></param>
        /// <param name="type"></param>
        /// <param name="path"></param>
        /// <param name="detailed"></param>
        /// <param name="TryReading"></param>
        /// <returns></returns>
        bool Add(Guid courseId, string title, int type, string path, string detailed, bool TryReading);
        /// <summary>
        /// 修改单门课程信息
        /// </summary>
        /// <param name="id"></param>
        /// <param name="courseId"></param>
        /// <param name="titel"></param>
        /// <param name="type"></param>
        /// <param name="path"></param>
        /// <param name="detailed"></param>
        /// <param name="TryReading"></param>
        /// <returns></returns>
        bool Update(Guid id, Guid courseId, string title, int type, string path, string detailed, bool TryReading);
        /// <summary>
        /// 删除单门课程信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool Delete(Guid id);
        
    }
}
